From: Giuseppe Scrivano Date: Fri, 24 Apr 2015 13:42:28 +0000 (+0200) Subject: test-auto-summary.sh properly quote arguments to assert_streq X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~777 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8ab2e60edcb0d7b32d3d2f7892914951acbb4fe7;p=ostree.git test-auto-summary.sh properly quote arguments to assert_streq Signed-off-by: Giuseppe Scrivano --- diff --git a/tests/test-auto-summary.sh b/tests/test-auto-summary.sh index 6cc4f069..0998b1e0 100755 --- a/tests/test-auto-summary.sh +++ b/tests/test-auto-summary.sh @@ -43,7 +43,7 @@ echo hello2 > test/a ${CMD_PREFIX} $OSTREE commit -b test -s "Another commit" test echo "ok commit 2" -assert_streq $OLD_MD5 $(md5sum repo/summary) +assert_streq "$OLD_MD5" "$(md5sum repo/summary)" ${CMD_PREFIX} $OSTREE --repo=repo config set core.commit-update-summary true @@ -52,4 +52,4 @@ echo hello3 > test/a ${CMD_PREFIX} $OSTREE commit -b test -s "Another commit..." test echo "ok commit 3" -assert_not_streq $OLD_MD5 $(md5sum repo/summary) +assert_not_streq "$OLD_MD5" "$(md5sum repo/summary)"